#include "tBookingClass.h"

CPPUNIT_TEST_SUITE_REGISTRATION(tBooking);

tBooking::tBooking()
{
}

tBooking::~tBooking()
{
}

void tBooking::setUp()
{
    ds.populate();
    bk.link(&ds);
}

void tBooking::tearDown()
{
}

// Uncomment the functions calls to test each function

void tBooking::bookingfunctions()
{
    //bk.makeBooking(123);
    //bk.editAndCancelBooking(123);
    //bk.checkNewEditedBookings();
    //bk.checkCheckedBookings(1001);
    //bk.checkApprovedBookings();
    //bk.checkCancelledBookings();
    CA(true);
}

// Uncomment each function call and view the output to verify correctness

void tBooking::lowlevelfunctions()
{
    //bk.listNewEditedBookings();
    //bk.listCheckedBookings(1001);
    //bk.listApprovedBookings();
    //bk.listCancelledBookings();

    //bk.printBookingList(ds.bookings);
    CA(true);
}